#include "CFilter.h"


CFilter::CFilter(void)
{
	 lastData = 0;
}

CFilter::~CFilter(void)
{
}

void CFilter::DoAct(void)
{ 
	*data = a * (*data) + (1-a)*lastData;
	lastData = *data;
}